<!--
<form #f="ngForm" (submit)="onSubmit(f,$event)">
  <mat-form-field class="example-full-width" color="primary">

      语法糖拆分形式
    <input matInput placeholder="任务内容" [ngModel]="desc" (ngModelChage)="desc=$event" name="desc" required>

    <input matInput placeholder="任务内容" [(ngModel)]="desc"  name="desc" required>
    <button mat-icon-button matSuffix type="submit">
      <mat-icon>send</mat-icon>
    </button>
    <mat-error>不能为空</mat-error>
  </mat-form-field>
</form>
-->
<mat-form-field class="example-full-width" color="primary">
  <input matInput placeholder="任务内容" [(ngModel)]="desc"  name="desc">
  <button mat-icon-button matSuffix type="button" (click)="sendQuickTask()">
    <mat-icon>send</mat-icon>
  </button>
</mat-form-field>
